<template>
  <h3 class="h3-tip">
    <slot v-text="txt" name="title" />
    <slot v-text="desc" name ="desc"  class="desc"/>
  </h3>
</template>

<script>
export default {
  props: {
    txt: {
      type: String,
      default: ''
    },
    desc: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.h3-tip {
    // margin-bottom: 15px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #606266;
    padding-left: 23px;
    font-weight: 700;
    font-family: SourceHanSansSC-bold;
    position: relative;
    margin-bottom:15px;
    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 4px;
        height: 24px;
        transform: translateY(-50%);
        background-color: $btnPrimary;
    }
    //span {
    //    margin-right: 15px;
    //    margin-left: 5px;
    //}
    b {
      position: absolute;
      cursor: pointer;
      top: 0;
      right: 0;
      color: #409EFF;
    }
    .desc{
      margin-left: 20px;
      font-weight: 500;
      font-size: 12px;
    }
}
</style>
